<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="include/base.jsp" %>
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <title>凯盛项目管理系统</title>
  <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
  <link rel="stylesheet" type="text/css" href="css/style.css">
  <style>
    body{
        width: 960px;
        margin-left: auto;
        margin-right: auto;
    }
   .btn{
      margin-left: 110px;

   }
   .form-actions{
      background-color: #fff;
      border-top: 0px solid #E5E5E5;
   }
  </style>
</head>
<body class="body">
  
  <%@ include file="include/top.jsp" %>
  
  
  <div class="container" style="padding-top:10px">
    <div class="row">
   
    <div class="span9" style="margin-left:100px">
	    <form class="form-horizontal" style="background-color:white;" action="saveNewProject.jspx" method="post">
	        <fieldset style="width:700px">
	          <ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:15px">
	              <li class="active">
	                <h3>创建新项目</h3>
	              </li>
	         </ul>
	         <div class="control-group" style="margin-top:30px">
	            <label class="control-label" for="input01">项目名称</label>
	            <div class="controls">
	              <input type="text" class="span5" id="input01" x-webkit-speech="undefined" name="name">
	              <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p>
	            </div>
	          </div>
	          <div class="control-group">
	            <label class="control-label" for="input01">项目描述</label>
	            <div class="controls">
	              <textarea class="span5" rows="4" name="description"></textarea>
	            </div>
	          </div>
	          <div class="control-group">
	            <label class="control-label" for="multiSelect">负责人</label>
	            <div class="controls">
	              <select id="multiSelect">
	                <option></option>
	                <c:forEach items="${sessionScope.allUser }" var="user" varStatus="vs">
	                	
		                <option value="${user.username }">${user.username }</option>
	                
	                </c:forEach>
	              </select>
	            </div>
	          </div>
	         <div class="control-group">
	            <label class="control-label" for="input01">项目成员</label>
	            <div class="controls">
	              <input type="text" class="span5" id="input01" x-webkit-speech="undefined">
	            </div>
	          </div>
	          
	
	          <div class="form-actions" style="width:500px">
	            <button type="button" class="btn btn-primary" id="save">保&nbsp;存</button>
	            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	            <button type="button" class="btn" style="margin-left:-10px" id="cancle">返&nbsp;回</button>
	          </div>
	        </fieldset>
		</form>          
    </div>
  </div>
</div>
<%@ include file="include/footer.jsp" %>
  <script type="text/javascript" src="js/jquery.min.js"></script>
  <script type="text/javascript" src="js/bootstrap.min.js"></script>
  <script type="text/javascript">
    $(document).ready(function(){
		$("#save").click(function(){
			$(".form-horizontal").submit();
		});
		
		$("#cancle").click(function(){
			history.back();
		});

    });
  </script>
</body>
</html>